home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / programmmanager / chooser / chooser.guide (.txt) < prev    next >
Amigaguide Document  |  1996-04-07  |  11KB  |  238 lines

  1. @database Chooser.guide
  2. @master DCC:User/Chooser/Chooser.guide
  3. @$VER: Chooser.guide 1.0 (13.1.95)
  4. @author "Simon Dick"
  5. @(c) "
  6.  1995 Simon Dick, Mailware"
  7. @index HeddleyAutoIndex
  8. @remark Created with Heddley v1.1 (c) Edd Dumbill 1994
  9. @node "main" "Chooser"
  10.                              @{u}Chooser V1.0@{uu}
  11.                           
  12.  1995 Simon Dick
  13.         @{"Introduction" link "intro" 0}                   @{"System
  14. Requirements" link "Requirements" 0}
  15.         @{"Installation" link "installation" 0}                   @{"Usage
  16. Shell" link "usage_cli" 0}
  17.         @{"Usage
  18. Workbench" link "usage_wb" 0}           @{"File
  19. Format" link "fileformat" 0}
  20.         @{"History" link "History" 0}                        @{"Future" link "future" 0}
  21.         @{"Copyright" link "copyright" 0}                      @{"Author" link "Author" 0}
  22. @endnode
  23. @node "intro" "Introduction"
  24. Chooser was written to be a replacement for Nico Fran
  25. ois' menu program,
  26. Selector. This is because Selector didn't adapt to screens which didn't use
  27. the topaz 8 font. This meant that it didn't look that good when run on a
  28. lot of peoples Workbench screens.
  29. Another problem with Selector was that it couldn't be run from the
  30. Workbench, only from the CLI which made it a bit awkward to use if you want
  31. to use it on a non autobooting disk. This would mean that you would have to
  32. write a script using IconX or some equivalent to run it.
  33. @endnode
  34. @node "requirements" "Requirements"
  35. Chooser needs the @{"reqtools.library" alink "SystemGuide/reqtools.library" 0} (V38 or higher) installed in order to
  36. run. If you want to be able to run Chooser under Workbench 1.3 then you
  37. need @{"gadtools.library" alink "SystemGuide/gadtools.library" 0} V34 installed (supplied).
  38. @endnode
  39. @node "installation" "Installation"
  40. @{u}Workbench 2+@{uu}
  41. All you need to do to install Chooser under Workbench 2+ is copy the file
  42. libs/@{"reqtools.library" alink "SystemGuide/reqtools.library" 0} to your LIBS: directory and then put Chooser wherever
  43. you want to keep it.
  44. @{u}Workbench 1.3@{uu}
  45. Under Workbench 1.3 you need to copy both the libraries in the libs13
  46. drawer to your LIBS: directory. The @{"reqtools.library" alink "SystemGuide/reqtools.library" 0} is the 1.3 compatible
  47. version and the @{"gadtools.library" alink "SystemGuide/gadtools.library" 0} is a 1.3 compatible version of the
  48. gadtools.library which is built into the Kickstart 2+ ROM, it was written
  49. by Massimo Tantignone. Then you can put Chooser wherever you want to keep
  50. it. Although this version of Chooser runs under Workbench 1.3, there is the
  51. obvious drawback of needing the 50k @{"gadtools.library" alink "SystemGuide/gadtools.library" 0} installed, also I
  52. can't guarantee that future versions of Chooser will be able to use every
  53. feature under Workbench 1.3. Also Nico Fran
  54. ois has stopped development of
  55. the Workbench 1.3 compatible version of @{"reqtools.library" alink "SystemGuide/reqtools.library" 0}.
  56. @endnode
  57. @node "usage_cli" "Usage from the Shell"
  58. Chooser can be used from the Shell, here is a list of the different
  59. commands that it accepts:
  60. @{u}FILE@{uu}
  61. This tells Chooser what menu file to load and use, if you don't specify it,
  62. Chooser will try to read a file called 'S:Chooser.programs'.
  63. @{u}-H=EVENUP/S@{uu}
  64. This tells Chooser to try to even up the lengths of the two columns. It has
  65. no effect if all of the gadgets are in a single column. For those of you
  66. who have previously used Nico Fran
  67. ois' Selector then you can also use the
  68. -h option instead of using EVENUP (they are both exactly the same). But if
  69. you are running Chooser under Workbench 1.3, only the -h argument will be
  70. recognised, the EVENUP argument will not be. But the -h argument works
  71. under Workbench 1.3 and 2+.
  72. Chooser can also be made resident.
  73. @endnode
  74. @node "usage_wb" "Usage from Workbench"
  75. This is probably the way quite a few people will use Chooser. You can use
  76. Chooser from the Workbench in a number of different ways, here they are:
  77.    You can just double click on Choosers icon, Chooser then looks for a
  78. menu file called @{b}S:Chooser.programs@{ub}. If you include the USETHISDISK
  79. tooltype then Chooser won't look for @{b}S:Chooser.programs@{ub}, but
  80. @{b}:S/Chooser.programs@{ub} instead.
  81.    You can give your menu file a project icon and set Chooser as its
  82. default tool.
  83. Here is a list of the tooltypes that Chooser supports:
  84. @{u}EVENUP@{uu}
  85. If this tooltype is present and all of the buttons won't fit in a single
  86. column then two columns will be used (as usual) but instead of being very
  87. uneven
  88. @{u}FILE@{uu}
  89. Using this tooltype you can tell Chooser what file to try to load, if you
  90. add a tooltype saying FILE=Work:AMenuFile, Chooser will try to load a menu
  91. file called @{b}Work:AMenuFile@{ub}. This tooltype is only checked for when you run
  92. Chooser without any arguments and is checked for before the USETHISDISK
  93. tooltype.
  94. @{u}USETHISDISK@{uu}
  95. This tooltype is only checked for if you run Chooser without any arguments.
  96. It causes Chooser to change the file that it looks for as the default.
  97. Usually the menu file that Chooser looks for is called @{b}S:Chooser.programs@{ub},
  98. but if you use this tooltype Chooser will look for a menu file called
  99. @{b}:S/Chooser.programs@{ub}.
  100. @{u}NOTE ABOUT TOOLTYPES UNDER WORKBENCH 1.3!@{uu}
  101. Under Workbench 1.3, you need to have an equals sign after a tooltypes name
  102. for it to be recognised, you don't under Workbench 2+ (but it still works
  103. with an equals sign as well) so if you want your tooltypes to work under
  104. both, just include an equals sign after the tooltypes.
  105. @endnode
  106. @node "fileformat" "Menu File Format"
  107. Chooser will read a script and interpret in this way:
  108.   line    | description                        |  example          |
  109. ----------+------------------------------------+-------------------+
  110.     1     | Window title                       |  Utilities Disk   |
  111.     2     | text for 1st gadget (max 79 char)  |  EdWord Pro V5.0  |
  112.     3     | command sequence (max 256 char)    |  *Work:EdWordPro  |
  113.     4     | text for 2nd gadget                |  Heddley          |
  114.     5     | 2nd command sequence               |  *Work:Heddley    |
  115.     .     | ...                                |  .....            |
  116.     The command sequence consists of any number of commands seperated by
  117. ';'. The following characters all have a special meaning, use them as the
  118. first character of a command:
  119.  '*' : Put a '*' in front of the MAIN program if you want to multitask. If
  120. you don't want to be able to multitask a program don't put a '*' in front
  121. of the main program. (see RUN mode)
  122.  '#' : When there is a '#' in front of a program it will allways be
  123. launched, even in EXEC or RUN mode. This is mainly useful for programs
  124. which need as much memory as possible or don't return to the CLI.
  125.  '!' : The prompt command. The string following the '!' isn't a command but
  126. instead is a prompt. A string gadget will appear and prompt you for the
  127. arguments to be passed to the next command. The '!' must be the command
  128. directly in front of the command you want the parameters to be passed to.
  129. One word of warning, if you are typing a filename which has spaces in it
  130. into the prompt requester, please put quotes around it otherwise it will
  131. not work.
  132.  '<' : Read new file list. The selector will read the file directly
  133. following the '<' and will use this to display a new file list. This is
  134. useful to implement sub-menus.
  135.  '@' : If you want to use a subtitle enter a '@' instead of the command
  136. sequence, the text will appear as a subtitle and can't be selected.
  137. NOTE : - Include the path to avoid problems, e.g. 'Disk1:Program' instead
  138.          of 'Program'.  Be careful when you use spaces !
  139.     Example script:
  140.         UTILITIES
  141.         This program is the editor
  142.         !Edit what file ? ;*c:MicroEMACS
  143.         This is a subtitle
  144.         @
  145.         This program doesn't work with fast memory
  146.         c:Run SYS:System/NoFastMem;*:ProgramName
  147. The number of gadgets that will appear in Choosers window is dependant on
  148. how large the users Workbench screen and default font is.
  149. @endnode
  150. @node "history" "History"
  151. @{u}Chooser v1.0 (13 January 1995) 18888 bytes@{uu}
  152.   Initial release
  153. @endnode
  154. @node "future" "Future"
  155. Possible future improvements to Chooser
  156.    Allow Chooser to have more than two columns of gadgets.
  157.    Have multiple menus open on the screen at once.
  158. Suggestions please.
  159. @endnode
  160. @node "copyright" "Copyright"
  161. Chooser is 
  162.  1995 Simon Dick
  163. This software is subject to the "Standard Amiga FD-Software Copyright Note"
  164. It is Mailware as defined in paragraph 4b. For more information please read
  165. "@{"AFD-COPYRIGHT" link "AFD-COPYRIGHT/main" 0}" (Version 1 or higher).
  166. Thanks to various members of Amigaholics International for their
  167. suggestions. If you want more information about them, contact Kevin Bryan
  168.                 Amigaholics Club
  169.                 49 Coutts House,
  170.                 Charlton Church Lane,
  171.                 Charlton,
  172.                 London.
  173.                 SE7 7AS.
  174.                 England
  175.  - @{"reqtools.library" alink "SystemGuide/reqtools.library" 0} is Copyright (c) Nico Fran
  176.  - @{"gadtools.library" alink "SystemGuide/gadtools.library" 0} v34 is Copyright (c) Massimo Tantignone.
  177.  - Thanks to the authors of the AFD-Copyright text file!
  178.  - Thanks to Nico Fran
  179. ois for writing Selector in the first place.
  180. @endnode
  181. @node "author" "Author"
  182. Chooser was written by:
  183.     Simon Dick
  184. My address is:
  185.     31 Salisbury Road
  186.     Bexley
  187.     Kent DA5 3QE
  188.     England
  189. or until the end of June 1995 during term time:
  190.     Avon Way House 2.3/B
  191.     Avon Way
  192.     Colchester CO4 3TZ
  193.     England
  194. My Email address is currently:
  195.     sidick@essex.ac.uk
  196. Chooser was developed on an A1200 with 4MB of RAM, a 20MHz 68882, with an
  197. 80MB hard drive, running Workbench 3.0. Chooser was compiled using DICE
  198. V3.0. The Chooser documentation was written using the Heddley AmigaGuide
  199. authoring system.
  200. If you have any suggestions, bug reports, questions, spare money, etc. then
  201. feel free to write to me. I will do my best to reply as long as you supply
  202. return postage (preferably IRC's unless you're in the UK).
  203. @endnode
  204. @node HeddleyAutoIndex "Index"
  205. @remark Index auto-generated by Heddley
  206. Index of database Chooser.guide
  207. Documents
  208. @{"Author" link "author"}
  209. @{"Chooser" link "main"}
  210. @{"Copyright" link "copyright"}
  211. @{"Future" link "future"}
  212. @{"History" link "history"}
  213. @{"Installation" link "installation"}
  214. @{"Introduction" link "intro"}
  215. @{"Menu File Format" link "fileformat"}
  216. @{"Requirements" link "requirements"}
  217. @{"Usage from the Shell" link "usage_cli"}
  218. @{"Usage from Workbench" link "usage_wb"}
  219. Buttons
  220. @{"AFD-COPYRIGHT" link "AFD-COPYRIGHT/main" 0}
  221. @{"Author" link "Author" 0}
  222. @{"Copyright" link "copyright" 0}
  223. @{"File
  224. Format" link "fileformat" 0}
  225. @{"Future" link "future" 0}
  226. @{"gadtools.library" alink "SystemGuide/gadtools.library" 0}
  227. @{"History" link "History" 0}
  228. @{"Installation" link "installation" 0}
  229. @{"Introduction" link "intro" 0}
  230. @{"reqtools.library" alink "SystemGuide/reqtools.library" 0}
  231. @{"System
  232. Requirements" link "Requirements" 0}
  233. @{"Usage
  234. Shell" link "usage_cli" 0}
  235. @{"Usage
  236. Workbench" link "usage_wb" 0}
  237. @endnode
  238.